package com.example.demo.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 * Description
 * User：chenshu
 * Date：2023-12-16
 * Time：13:59
 */
@Component
@Setter
@Getter
@ConfigurationProperties(prefix = "dbtypes2")
public class DbTypes {
    //属性名要和yml里的一样
    private List name2;
}
